package com.ly.heart.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ly.heart.domain.SurveyDrawEntity;

/**
 * 勘测图纸Mapper接口
 * @author wutao
 * @date 2024-05-29
 */
public interface SurveyDrawMapper extends BaseMapper<SurveyDrawEntity> {

    /**
     * 查询勘测图纸
     * @param id 勘测图纸ID
     * @return 勘测图纸
     */
    SurveyDrawEntity selectSurveyDrawEntityById (String id);

    /**
     * 查询勘测图纸列表
     * @param surveyDrawEntity 勘测图纸
     * @return 勘测图纸集合
     */
    List<SurveyDrawEntity> selectSurveyDrawEntityList (SurveyDrawEntity surveyDrawEntity);

    /**
     * 新增勘测图纸
     * @param surveyDrawEntity 勘测图纸
     * @return 结果
     */
    int insertSurveyDrawEntity (SurveyDrawEntity surveyDrawEntity);

    /**
     * 修改勘测图纸
     * @param surveyDrawEntity 勘测图纸
     * @return 结果
     */
    int updateSurveyDrawEntity (SurveyDrawEntity surveyDrawEntity);

    /**
     * 删除勘测图纸
     * @param id 勘测图纸ID
     * @return 结果
     */
    int deleteSurveyDrawEntityById (String id);

    /**
     * 批量删除勘测图纸
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    int deleteSurveyDrawEntityByIds (String[] ids);
}
